package com.shanjupay.merchant.service;

import com.shanjupay.common.domain.BusinessException;

/**
 *  上传文件的接口
 *
 *
 *
 */
public interface FileService {

    /**
     *  上传文件
     * @param bytes  文件字节数组
     * @param fileName 文件名称过
     * @return
     * @throws BusinessException
     */
    public String uploadFile(byte[] bytes,String fileName) throws BusinessException;
}
